package cn.pfz.search.Service.impl;

import cn.pfz.search.Service.ITravelEsService;
import cn.pfz.search.domain.TravelEs;
import cn.pfz.search.repository.TravelEsRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: 普发忠
 * @Date: 2021/10/20/9:52
 */
@Service
public class TravelEsServiceimpl implements ITravelEsService {
    @Autowired
    private TravelEsRepository travelEsRepository;
    @Override
    public void save(TravelEs es) {
        travelEsRepository.save(es);
    }
}
